/* Copyright (c) 2024 Huawei Technologies Co., Ltd.
openFuyao is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
         http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details. */
.flex_content{
  margin: 32px;
  width: auto !important;
}
.multi_cluster_edit{
  padding: 0 !important;
}
.child_content {
  width: 100%;
  height: 100vh;
  .title {
    color: #333333;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
    .num{
      font-size: 14px;
      color: #89939b;
    }
  }
  .memebr_management{
    margin: 20px 0 12px 0;
  }
  .table_cluser_click{
    color: #356AC4;
  }
  .table_cluser_click:hover{
    cursor: pointer;
  }
  .host_cluster {
    width: 100%;
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    height: 92px;
    display: flex;
    .host_cluster_left {
      width: 38.5%;
      height: 92px;
      padding: 18px 32px;
      display: flex;
      .host_cluster_left_img{
        width: 56px;
        height: 56px;
      }
      .host_cluster_left_info{
        margin: 0 13px 0 20px;
        height: 52px;
        .host_cluster_left_name{
          font-size: 16px;
          color: #333;
          font-weight: bold;
          margin-bottom: 12px;
        }
        .host_cluster_left_name:hover{
          cursor: pointer;
        }
        .host_cluster_left_title{
          font-size: 14px;
          color: #89939B;
        }
      }
      .host_cluster_left_role{
        padding: 0px 12px;
        font-size: 14px;
        line-height: 24px;
        border-radius: 56px;
        height: 24px;
        color: #fff;
        background: linear-gradient(to bottom, #477dd8, #234c9e);
      }
    }
    .host_cluster_right {
      margin-top: 20px;
      width: 61.5%;
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      .host_cluster_right_info{
        .host_cluster_right_text{
          font-size: 14px;
          color: #333;
          margin-bottom: 12px;
        }
        .host_cluster_right_title{
          font-size: 14px;
          color: #89939b;
        }
      }
      .host_cluster_right_icon{
        padding-top: 12px;
        .more_opreation{
          color: #356AC4;
          svg{
            width: 24px;
            height: 24px;
          }
        }
      }
    }
  }
  .host_cluster_table{
    width: 100%;
    padding: 32px;
    background: #fff;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    flex: 1;
    .searchFormCluster{
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      .searchForm-form-item{
        margin-bottom: 0px !important;
      }
    }
    .search_input{
      width: 300px;
      height: 32px;
      border-radius: 6px;
    }
    .add_btn{
      height: 32px;
      width: 96px;
      background-color: #356AC4;
      color: #fff;
      border-radius: 6px;
    }
    .add_btn:hover{
      background-color: #4B8BEA !important;
      color: #fff !important;
      box-shadow: none !important;
    }
    .add_btn:focus{
      background-color: #234C9E !important;
      border-color: #234C9E !important;
      box-shadow: none !important;
    }
    .table_label{
      display: flex;
      flex-direction: row;
      .table_label_key{
        padding: 2px 12px;
        border-top-left-radius: 6px;
        border-bottom-left-radius: 6px;
        background: #cfe7ff;
      }
      .table_label_value{
        padding: 2px 12px;
        border-top-right-radius: 6px;
        border-bottom-right-radius: 6px;
        background: #e5e5e5;
      }
    }
  }
  .cluster_edit_info{
    margin-top: 16px;
    background: #fff;
    padding: 32px 64px;
    .add_label{
      display: flex;
      justify-content: start;
      padding: 0;
    }
  }
  .cluster_config{
    margin-top: 20px;
    min-height: calc(100vh - 558px);
    background: #fff;
    padding: 32px 64px;
    .cluster_config_top{
      display: flex;
      justify-content: space-between;
      .get_config{
        font-size: 14px;
        color: #346ac4;
      }
      .get_config:hover{
        cursor: pointer;
      }
    }
  }
  .btns{
    width: auto;
    height: 72px;
    padding: 20px 32px;
    background: #fff;
    display: flex;
    justify-content: end;
    margin-top: 20px;
    margin-left: -32px;
    position: sticky;
    bottom: 0;
    box-shadow: 0px -3px 6px rgba(51, 51, 51, 0.1);
    .cancel_btn{
      height: 32px;
      width: 96px;
      border: 1px solid #DCDCDC;
      color: #333333;
      border-radius: 6px !important;
    }
    .cancel_btn:hover{
      border: 1px solid #4B8BEA;
      color: #4B8BEA;
    }
    .cancel_btn:focus{
      border: 1px solid #234C9E;
      color: #234C9E;
    }
    .primary_btn{
      margin-left: 16px;
      height: 32px;
      width: 96px;
      background-color: #356AC4;
      color: #fff;
      border-radius: 6px;
    } 
    .primary_btn:hover{
      background-color: #4B8BEA !important;
      color: #fff !important;
      box-shadow: none !important;
    }
    .primary_btn:focus{
      background-color: #234C9E !important;
      border-color: #234C9E !important;
      box-shadow: none !important;
    }
  }
}
@media screen and(min-width: 1024px) and (max-width: 1279px) {
  .form_input{
    width: 300px !important;
  }
}
@media screen and(min-width: 1280px) and (max-width: 1440px) {
  .form_input{
    width: 500px !important;
  }
}